package cn.itsnkkka;

import java.util.Scanner;

public class Work_02 {

    public static class Main{

        private int op1;
        private int op2;

        public Main(
                int op1, int op2
        ) {
            this.op1 = op1;
            this.op2 = op2;
        }

        public void addition() {
            System.out.println(
                    String.format(
                            "Add:%d",
                            op1 + op2
                    )
            );
        }

        public void subtraction() {
            System.out.println(
                    String.format(
                            "Sub:%d",
                            op1 - op2
                    )
            );
        }

        public void multiplication() {
            System.out.println(
                    String.format(
                            "Mul:%d",
                            op1 * op2
                    )
            );
        }

        public void division() {
            System.out.println(
                    String.format(
                            "Div:%.4f",
                            Double.valueOf(op1) / Double.valueOf(op2)

                    )
            );
        }


    }

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int op1 = scanner.nextInt();
        int op2 = scanner.nextInt();
        Main main = new Main(op1, op2);
        main.addition();
        main.subtraction();
        main.multiplication();
        main.division();
    }

}
